package designpattern.command;

public class Invoker {
    private final ICommand command;

    public Invoker(ICommand command){
        this.command = command;
    }
    public void action(){
        this.command.execute();
    }
}
